package com.iphanta.community.following.traffic;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author 墨声 E-mail: zehong.hongframe.huang@gmail.com
 * create time: 2/15/22 3:36 PM
 */
@Data
@ToString
public class PublishCommentRequest {

    /**
     * 动态作者ID
     */
    private String authorId;

    /**
     * 动态ID
     */
    private Long dynamicId;

    /**
     * 评论内容
     */
    private String comment;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone="GMT+8")
    private Date createTime;

}
